/**
 * Copyright (c) OpenSpug Organization. https://github.com/openspug/spug
 * Copyright (c) <spug.dev@gmail.com>
 * Released under the AGPL-3.0 License.
 */
export default [
  
  {
  key: 'exec',
  label: '记录',
  pages: [
    {
      key: 'Authorization',
      label: '授权记录',
      perms: []
    },
    {
      key: 'Changecard',
      label: '手牌更换',
      perms: []
    },
    {
      key: 'SwipeCard',
      label: '刷卡记录',
      perms: []

    },
    {
      key: 'Report',
      label: '上报记录',
      perms: []
    },
    {
      key: 'Abnormal',
      label: '柜子异常',
      perms: []
    },
  ]
},

{
  key: 'deploy',
  label: '制卡',
  pages: [
    {
      key: 'SetCard',
      label: '设置卡',
      perms: [
        { key: 'view', label: '发设置卡' },
      ]
    },
    {
      key: 'RecordsManagement',
      label: '管理卡',
      perms: [
        { key: 'lost', label: '挂失发卡' },
        { key: 'send', label: '发卡' }
      ]
    },
    {
      key: 'ManagementCard',
      label: '管理卡记录',
      perms: []
    }
  ]
},
{
  key: 'config',
  label: '安装',
  pages: [
    {
      key: 'BasicInformation',
      label: '基本信息',
      perms: [
        { key: 'Timeview', label: '在线延期' },
        { key: 'add', label: '离线延期' },
        { key: 'edit', label: '改公司名称' },
        { key: 'del', label: '保存' },
      ]
    },
    {
      key: 'ZoneManagement',
      label: '物理/管理区',
      perms: [
        { key: 'addview', label: '添加物理区' },
        { key: 'add', label: '新增管理区' },
      ]
    },
    {
      key: 'CabinetSetup',
      label: '柜号设置',
      perms: [
        { key: 'setview', label: '批量添加' },
        { key: 'add', label: '批量删除' },
      ]
    },
    {
      key: 'ControllerRegistration',
      label: '控制器注册',
      perms: [
        { key: 'view', label: '编辑' },
        { key: 'add', label: '在注册' },
        { key: 'edit', label: '删除' },
      ]
    },

    {
      key: 'remoteControl',
      label: '远程控制',
      perms: [
        { key: 'remoteview', label: '入场授权' },
        { key: 'add', label: '离场授权' },
        { key: 'edit', label: '松手牌' },
        { key: 'del1', label: '单个缩锁舌' },
        { key: 'del2', label: '单个开锁' },
        { key: 'del3', label: '单个重启' },
        { key: 'del4', label: '批量缩锁舌' },
      ]
    }



  ]
}, {
  key: 'system',
  label: '系统管理',
  pages: [{
    key: 'system',
    label: '角色管理',
    perms: [
      { key: 'Editview', label: '编辑' },
      { key: 'add', label: '权限功能' },
      { key: 'edit', label: '重置密码' },
    ]
  }
  ]
}]
